#include <QtGui>
#include <math.h>

#include "CustomIncludes.h"
#include "SpideyWindow.h"
#include "Network.h"

int main(int argc, char **argv)
{
    QApplication app(argc, argv);

    SpideyWindow win;
    win.show();
    //SpideyHttp cont(2, win.scene);    // don't make this a pointer, otherwise the temp files won't be deleted!
    //cont.downloadWikiPage("Slashdot");
    //cont.downloadWikiPage("KDE");

    SpideyHttp *cont = new SpideyHttp(&win, 1);
    cont->downloadWikiPage("KDE");

    return app.exec();
}

